@import '../../colors.css';
.inula-notification-wrapper {
  width: 368px;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 16px;
  pointer-events: none;
}
.inula-notification {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 24px 0 rgba(0,0,0,0.12);
  padding: 18px 28px 18px 18px;
  min-width: 320px;
  max-width: 368px;
  border-left: 4px solid var(--inula-color-primary);
  margin: 0;
  position: relative;
  animation: inula-notification-fadein 0.4s cubic-bezier(.23,1.01,.32,1);
  transition: box-shadow 0.2s, transform 0.2s, opacity 0.3s;
  opacity: 1;
  pointer-events: auto;
  margin-bottom: 8px;
}
.inula-notification-info {
  border-left-color: var(--inula-color-primary);
  background: #e6f4ff;
}
.inula-notification-success {
  border-left-color: #52c41a;
  background: #f6ffed;
}
.inula-notification-warning {
  border-left-color: #faad14;
  background: #fffbe6;
}
.inula-notification-error {
  border-left-color: var(--inula-color-danger);
  background: #fff2f0;
}

.inula-notification-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  border-radius: 50%;
  margin-right: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.inula-notification-icon-success { background: #f6ffed; color: #52c41a; }
.inula-notification-icon-warning { background: #fffbe6; color: #faad14; }
.inula-notification-icon-error { background: #fff2f0; color: var(--inula-color-danger); }
.inula-notification-icon-info { background: #e6f4ff; color: var(--inula-color-primary); }

.inula-notification-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.inula-notification-message {
  font-weight: 600;
  font-size: 16px;
  color: #222;
  margin-bottom: 4px;
  line-height: 1.3;
}
.inula-notification-description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}
.inula-notification-close {
  font-size: 18px;
  color: #bbb;
  cursor: pointer;
  margin-left: 18px;
  user-select: none;
  transition: color 0.2s, background 0.2s;
  border-radius: 50%;
  padding: 2px 6px;
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
}
.inula-notification-close:hover {
  color: #1677ff;
  background: #f0f5ff;
}
@keyframes inula-notification-fadein {
  from { opacity: 0; transform: translateY(-30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes inula-notification-fadeout {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(30px) scale(0.98); }
}
.inula-notification-text {
  max-width: 100%;
  color: #333;
}
.inula-notification-text .inula-notification-message {
  font-size: 15px;
  font-weight: 400;
  color: #333;
}
.inula-notification-text .inula-notification-close {
  top: 0;
  right: 0;
} 
.inula-notification-actions {
    display: flex;
    margin-top: 10px;
    justify-content: flex-end;
}

/* 顶部右侧 */
.inula-notification-wrapper-topRight {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* 顶部左侧 */
.inula-notification-wrapper-topLeft {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* 底部右侧 */
.inula-notification-wrapper-bottomRight {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
}

/* 底部左侧 */
.inula-notification-wrapper-bottomLeft {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
}

/* 顶部正中 */
.inula-notification-wrapper-top {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 底部正中 */
.inula-notification-wrapper-bottom {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}